/**
 * 
 */
package com.ib.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.ib.enumertion.TransactionType;

/**
 * Transaction data that is read into the system.
 * 
 */
public class TransactionAttribute implements Serializable {

	private static final long serialVersionUID = 1L;

	private String externalTransactionId;
	private String clientId;
	private String securityId;

	private TransactionType transactionType;

	private Date date;

	private BigDecimal marketValue;

	private boolean priorityFlag;

	public String getExternalTransactionId() {
		return externalTransactionId;
	}

	public void setExternalTransactionId(String externalTransactionId) {
		this.externalTransactionId = externalTransactionId;
	}

	public String getClientId() {
		return clientId;
	}

	public void setClientId(String clientId) {
		this.clientId = clientId;
	}

	public String getSecurityId() {
		return securityId;
	}

	public void setSecurityId(String securityId) {
		this.securityId = securityId;
	}

	public TransactionType getTransactionType() {
		return transactionType;
	}

	public void setTransactionType(TransactionType transactionType) {
		this.transactionType = transactionType;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public BigDecimal getMarketValue() {
		return marketValue;
	}

	public void setMarketValue(BigDecimal marketValue) {
		this.marketValue = marketValue;
	}

	public boolean isPriorityFlag() {
		return priorityFlag;
	}

	public void setPriorityFlag(boolean priorityFlag) {
		this.priorityFlag = priorityFlag;
	}

}
